home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_08_10
/
8n10032a
< prev
next >
Wrap
Text File
|
1990-08-19
|
909b
|
53 lines
Listing 1: environ.h
/*************************
File: ENVIRON.H
Created
By: Russell Cook
*************************/
#ifndef _ENVIRON_H_
#define _ENVIRON_H_
#ifndef BOOL
# define BOOL unsigned char
#endif
#ifndef TRUE
# define FALSE (BOOL)0
# define TRUE (BOOL)~FALSE
#endif
#ifndef VOID
# define VOID char
#endif
#define MSC51_ENV
/* using Microsoft C 5.1
compiler */
/* #define TURBOC_ENV
/* using Borland Turbo C
version 2.0 */
/* #define SCOUNIX_ENV
/* using Santa Cruz Op's Unix */
/* #define MIXED_MODEL
/* using both near
and far pointers */
/* NOTE: Shouldn't be used
w/LARGE model */
#ifdef MIXED_MODEL
# define FARFNCT far pascal
# define NEARFNCT near pascal
# define FAR far
# define NEAR near
#else
# define FARFNCT
# define NEARFNCT
# define FAR
# define NEAR
#endif
#endif /* _ENVIRON_H_ */